refactor: Fix parameters in method endpoints#4300
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4300 +/- ##
=======================================
Coverage 97.47% 97.47%
=======================================
Files 192 192
Lines 19310 19310
=======================================
Hits 18822 18822
Misses 270 270
Partials 218 218 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I'm wondering if we should standardize on an "Options" suffix for query (URL) parameters at the same time since we are standardizing on a "Request" suffix for body parameters? If so, it seems to me like this new linter is the perfect place to put this. Thoughts? |
Agree, good idea. I'll extend the linter. |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @alexandear!
Two tiny nits, otherwise LGTM.
|
Thank you, @alexandear and @Not-Dhananjay-Mishra! |
This PR adds the
paramcheckcustom linter that detects issues with body and query parameters. Changes are non-breaking.The
paramcheckdoes the following:bodyOptionssuffix, becauseOptionsare used for query parametersoptsOptionssuffix